# -*- coding: utf-8 -*-

import pandas as pd


def df_cum():
    """
    Cumulative
    Returns
    -------

    """
    df = pd.DataFrame(data=list(range(1, 10)), columns=['value'])
    df['cumsum'] = df['value'].cumsum()
    df['cumprod'] = df['value'].cumprod()
    df['cummax'] = df['value'].cummax()
    df['cummin'] = df['value'].cummin()

    print(df)


if __name__ == '__main__':
    df_cum()
    pass
